import { Meta } from '@storybook/blocks';

import * as ButtonBarStories from '../stories/ButtonBar.stories';

<Meta of={ButtonBarStories} />

# ButtonBar

An end-aligned row of buttons.

## Example

```dart liveslice=ButtonBar
ButtonBar(
  children: <Widget>[
    FlatButton(
      child: Text('Ok'),
      color: Colors.blue,
      onPressed: () {/** */},
    ),
    FlatButton(
      child: Text('Cancel'),
      color: Colors.blue,
      onPressed: () {/** */},
    ),
  ],
)
```

## Related Links

- https://api.flutter.dev/flutter/material/ButtonBar-class.html
